#include "other.h"
#include "ui_other.h"
#include "ui_mainwindow.h"
#include "mainwindow.h"
other::other(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::other)
{
    ui->setupUi(this);
    MainWindow *w=new MainWindow;
    connect(ui->Btn1,&QPushButton::clicked,w,[=](){
        this->close();
        w->show();
    });
}

other::~other()
{
    delete ui;
}
